#include <iostream>
using namespace std;

int func (void) {
	int num = 123;
	return num;//temp = num;
}

int main (void)
{
	//int& r = 100; 
	const int& rc = 100; 
	//int &res = func(); //error 
	const int &res = func(); 
	cout << res << endl;
	return 0;
}
